import React from 'react'
import { APP_CXT } from '../contexts'

export default function Counter() {
  return <APP_CXT.Consumer>
    {(state) => <div>数字：{state.n}</div>}
  </APP_CXT.Consumer>
}